Clone Course Materials

Follow these simple shell commands to create a local copy of the course materials.


In [ ]:
!whoami

Add the url for your fork!


In [ ]:
%%bash
git clone https://github.com/mr4ds/mr4ds.git

View the remote branches:


In [ ]:
%%bash
cd mr4ds/
git remote -v

Add the remote from the Azure branch to get updates whenever necessary


In [ ]:
%%bash
cd mr4ds/
git remote add upstream https://github.com/Azure/mr4ds.git

Check to see the remote has been added:


In [ ]:
%%bash
cd mr4ds/
git remote -v

Inform git of Who You Are


In [ ]:
%%bash
git config --global user.email "you_are_awesome@bestdoman.com"
git config --global user.name "Coolest Cat Ever"

Update Your Remote Branch


In [ ]:
%%bash
cd mr4ds/
git status

In [ ]:
%%bash
cd mr4ds/
git add --all
git commit -m "commit message"
git push origin master

Fetch Changes from Azure


In [ ]:
%%bash
cd mr4ds/
git pull upstream master